package com.example.uniappspringbootstartweb.mapper;


import com.example.uniappspringbootstartweb.entity.Comments;
import com.example.uniappspringbootstartweb.entity.Shares;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by lilijava
 * on 2024/12/30
 * <p>
 * on  uni-app-springboot-start-web
 * @author DELL
 */

@Repository
public interface CommentRepository extends JpaRepository<Comments, Long> {

//     List<Userlike> findAllByUserid(Long userid);
//    Comments save (Comments comments);
      List<Comments> findByContentid(Long contentId);
}
